<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>demo01</title>
  <script src="../lib/react.js"></script>
  <script src="../lib/react-dom.js"></script>
  <script src="../lib/browser.js"></script>
</head>
<body>
<div id="root"></div> 

<script type="text/babel">
const fruits = ['apple', 'banana', 'cherry', 'durian'];
const element = (
  <ul> 
  { 
    fruits.map( name => <li key={name}>{name}</li> )     
  } 
  </ul>
);
ReactDOM.render(
  element,
  document.getElementById('root')
);
</script>
</body>
</html>